package com.jjsc.product.vo;

import com.alibaba.fastjson2.JSONArray;
import com.jjsc.product.api.domain.ProductSku;
import com.jjsc.product.api.domain.skuPriceVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Map;

/**
 * @Author: 钟城明
 * @CreateTime: 2025-10-27
 * @Description: 商品详情展示
 * @Version: 1.0
 */
@Schema(description = "商品详情展示")
@Data
public class ItemVo {
    @Schema(description = "商品sku")
    private ProductSku productSku;
    @Schema(description = "商品价格")
    private skuPriceVo skuPriceVo;
    @Schema(description = "轮播图")
    private String[] coverImgList;
    @Schema(description = "规格组合")
    private JSONArray specValueList;
    @Schema(description = "商品规格对应skuId信息")
    private Map<String, Long> specValueMap;

}
